package com.card.game.room;

import java.util.List;

import com.google.common.collect.Lists;

public class ZjhRoomInfo {
	public int curBet = 1;//当前房间的当前下注金额
	public int totalBet = 0;//本局所有人下注的和
	// 当前房间所有单个筹码，用于桌面筹码显示
	public List<Integer> chipList = Lists.newArrayList();
	public int curLun;//本局当前轮数
	public transient int lastIndex;//
	
	public transient TggRoom room;
	
	public ZjhRoomInfo(TggRoom room) {
		this.room = room;
	}


	public void clear() {
		this.curBet = room.getRoomSetting().getDi();
		this.totalBet = 0;
		this.chipList.clear();
		this.curLun = 0;
		this.lastIndex = room.getPlayerList().size()-1;
	}
}
